Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: 2 miners with one attempting forks #5034

Merged
merged 4 commits into from
Aug 2, 2024
Merged

Conversation

kantai
Copy link
Member

@kantai kantai commented Aug 1, 2024

Description

This PR adds a new integration test for behavior when 2 miners are running, and one of the miners engages in forking behavior. The test asserts that the signer set prevents them from producing the fork.

This PR also cleans up some the other signer set forking test some: instead of running for 20 tenures, it runs until both miners have produced 3 tenures.

@kantai kantai requested review from a team as code owners August 1, 2024 16:04
Copy link
Contributor

@wileyj wileyj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving CI changes

Copy link
Collaborator

@jferrant jferrant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really neat to see this test.

@kantai kantai added this pull request to the merge queue Aug 1, 2024
github-merge-queue bot pushed a commit that referenced this pull request Aug 1, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 1, 2024
@kantai kantai added this pull request to the merge queue Aug 2, 2024
Merged via the queue into develop with commit 18ec305 Aug 2, 2024
1 check passed
@wileyj wileyj deleted the test/miner-forking-signers branch August 2, 2024 13:48
Copy link
Contributor

@obycode obycode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great!

@blockstack-devops
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Oct 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants